package org.sport.dbInterface;

import org.sport.model.entityModel.ParacttableEntity;
import org.sport.model.entityModel.UsertableEntity;

import java.util.List;

/**
 * Created by Allen on 2017/9/20.
 *
 * 参加活动信息表，参加活动只有参加活动信息与删除活动信息，
 */
public interface ParActOperation {

    /*
    * 增
    * */
    boolean                     addOnParAct(ParacttableEntity paracttableEntity);

    /*
    * 改
    * */
    boolean                     updateOneParActStatus(ParacttableEntity paracttableEntity);
    /*
    * 删
    * */
    boolean                     delOneParAct(ParacttableEntity paracttableEntity);

    /*
    * 查
    * */
    List<ParacttableEntity>           findByUserId(UsertableEntity usertableEntity);


    List<ParacttableEntity>     findAll();

}
